Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

feat: useKbdShortcuts hook & example implementation #180

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

alex-mcgovern
Copy link
Contributor

Following the adage of "build the things you want to see in the product" — I added a hook that can be used to wire up keyboard shortcuts.

While working on "hard delete" for workspaces, I found myself wanting "C" to create a lot. I think overtime we can instrument the entire app for productivity like this.

@coveralls
Copy link
Collaborator

coveralls commented Jan 23, 2025

Pull Request Test Coverage Report for Build 12927693746

Details

  • 8 of 16 (50.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.6%) to 68.996%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/hooks/use-kbd-shortcuts.ts 5 13 38.46%
Totals Coverage Status
Change from base Build 12927121533: -0.6%
Covered Lines: 636
Relevant Lines: 825

💛 - Coveralls

@alex-mcgovern alex-mcgovern merged commit 0d935a3 into main Jan 23, 2025
7 of 8 checks passed
@alex-mcgovern alex-mcgovern deleted the feat/use-kbd-shortcuts-hook branch January 23, 2025 11:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants